Skip to content

chore(warnings): Fixes 9 CS1066 warnings - #1607

Merged
sven-n merged 1 commit into
MUnique:masterfrom
eduardosmaniotto:chore/cs1066
Nov 24, 2026
Merged

sven-n merged 1 commit into
MUnique:masterfrom
eduardosmaniotto:chore/cs1066

Conversation

@eduardosmaniotto

Copy link
Copy Markdown
Contributor

Summary

Removes = default from the cancellationToken parameter of explicit
IRepository.GetAllAsync / IRepository.GetByIdAsync implementations.
The compiler ignores these defaults (CS1066), so there is no behavior change.
Callers through IRepository still use the default declared on the interface.

  • Fix 9 CS1066
  • Fix 2 SA1515

@codacy-production

Copy link
Copy Markdown

Up to standards ✅

🟢 Issues 0 issues

Results:
0 new issues

View in Codacy

🟢 Metrics 0 complexity

Metric Results
Complexity 0

View in Codacy

NEW Get contextual insights on your PRs based on Codacy's metrics, along with PR and Jira context, without leaving GitHub. Enable AI reviewer
TIP This summary will be updated as you push new changes.

@sven-n sven-n left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM. Removing the ignored = default from the explicit interface implementations fixes the CS1066 warnings without a behaviour change. I built it on current master and ran the tests, including Persistence.Initialization.Tests (1010 passed). The only failure was LoginTicketServiceTest.ConcurrentIssuersStayWithinTheLimitAsync, a known race in PlayerInMemoryContext on master, which is unrelated.

Nit: the PR also removes the explanatory comment about the Flame of Condor's drop level in Wings.cs (from #1599), which is unrelated to CS1066. That comment explained a non-obvious value, so please restore it in a follow-up.


Generated by Claude Code

@sven-n
sven-n merged commit 5e14a8c into MUnique:master Nov 24, 2026
1 check passed
@eduardosmaniotto
eduardosmaniotto deleted the chore/cs1066 branch November 24, 2026 22:10
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants